home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / FAN10S54.M3 < prev    next >
Text File  |  1996-04-01  |  5KB  |  180 lines

  1. name Fanuc 10M Sub Programs 54-59
  2.  
  3. ^ 00
  4. % 00
  5. / 00
  6. O 4
  7. N >4
  8. G >2
  9. g >2 G
  10. X ->3.>4
  11. Y ->3.>4
  12. Z ->3.>4
  13. A ->3.>4
  14. I ->3.>4
  15. J ->3.>4
  16. K ->3.>4
  17. Q ->3.>4
  18. R ->3.>4
  19. P 4
  20. F >3.1
  21. H >2
  22. D >2
  23. T >2
  24. M >2
  25. L >2
  26. S >4
  27. c 00
  28.  
  29. ModalLetters X Y Z F R                # List of letters that are modal    
  30.  
  31. ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85  # List of g codes that are modal    
  32.  
  33. Sequence#s N 0 1 1                    # Char, freq, incr & start          
  34. First#? N                             # Y or N  'Output 1st sequence no.  
  35. Last#? N                              # Y or N  'Output last sequence no. 
  36.  
  37. HCode X                               # X or X U  'Horizontal char.       
  38. VCode Y                               # Y or Y V  'Vertical char.         
  39. Dcode Z                               # Depth char.                       
  40. FeedCode F                            # Feed rate char.                   
  41.  
  42. Comment ( )                           # Begin End comment char.           
  43.  
  44. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  45. Coolant 8 9 7                         # On, Off & Mist m codes            
  46. DComp 41 42 40                        # Left, Right & Cancel m codes      
  47. LComp 43 49                           # On & Off codes                    
  48.  
  49. Feed G1                             # Linear move                       
  50. Rapid G0                            # Rapid positioning word            
  51. Cw G2                               # Circular move clockwise           
  52. Ccw G3                              # Circular move counter clockwise   
  53.  
  54. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  55.  
  56. CtrCode I J                           # I J or R or I J K L               
  57. Helical? Y
  58.  
  59. Spaces? Y                             # Y or N  'Spaces between words     
  60.  
  61. Incremental? N                        # Y or N  'Inc or abs output        
  62. CtrIncremental? Y                     # Y or N  'Inc or abs I & J         
  63. ByQuadrants? N                        # Y or N  'Break arcs at quadrants  
  64. Subs1st? N                            # Y or N 'Orders main & sub programs
  65.  
  66. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  67.  
  68.  
  69. Drill                                 # Drilling canned/manual cycle      
  70. G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  71. end cancel
  72.  
  73. Peck                                  # Pecking canned/manual cycle       
  74. G83 X[H] Y[V] Z[D] Q[VBite] R[Vclear] F[FRate]
  75. end cancel
  76.  
  77. Tap                                   # Tapping canned/manual cycle       
  78. G84 X[H] Y[V] Z[D] R[Vclear] F[FRate] Q[VBite]
  79. end cancel
  80.  
  81. LTap                                  # Left handed tapping cycle         
  82. G74 X[H] Y[V] Z[D] R[Vclear] F[Frate] Q[VBite]
  83. end cancel
  84.  
  85. Ream                                  # Reaming canned/manual cycle       
  86. G85 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  87. end cancel
  88.  
  89. Bore                                  # Boring canned/manual cycle        
  90. G86 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  91. end cancel
  92.  
  93. Back                                  # Back boring canned/manual cycle   
  94. G87 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  95. end cancel
  96.  
  97. Cancel                                # Cancel a canned/manual cycle      
  98. G80
  99. end
  100.  
  101. Drill                                 # Drilling canned/manual cycle      
  102. G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  103. end cancel
  104.  
  105. Peck                                  # Pecking canned/manual cycle       
  106. G83 X[H] Y[V] Z[D] Q[VBite] R[Vclear] F[FRate]
  107. end cancel
  108.  
  109. Tap                                   # Tapping canned/manual cycle       
  110. G84 X[H] Y[V] Z[D] R[Vclear] F[FRate] Q[VBite]
  111. end cancel
  112.  
  113. LTap                                  # Left handed tapping cycle         
  114. G74 X[H] Y[V] Z[D] R[Vclear] F[Frate] Q[VBite]
  115. end cancel
  116.  
  117. Ream                                  # Reaming canned/manual cycle       
  118. G85 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  119. end cancel
  120.  
  121. Bore                                  # Boring canned/manual cycle        
  122. G86 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  123. end cancel
  124.  
  125. Back                                  # Back boring canned/manual cycle   
  126. G87 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  127. end cancel
  128.  
  129. Cancel                                # Cancel a canned/manual cycle      
  130. G80
  131. end
  132.  
  133. StartCode                             # Start of the program              
  134. %0
  135. End
  136.  
  137. 1stToolChange                         # First tool change                 
  138. O[Program#]
  139. G0 G40 G80 G90
  140. T[Tool] M6
  141. M8
  142. G90 X[H] Y[V]
  143. G0 G43 Z[D] S[Speed] M[Direct] H[Lcomp]
  144. End
  145.  
  146. Infeed                                # Enable cutter comp                
  147. G[Side] X[H] Y[V] D[DComp] F[FRate]
  148. end
  149.  
  150. Outfeed                               # Disable cutter comp               
  151. G1 G40 X[H] Y[V]
  152. end
  153.  
  154. ToolChange                            # Secondary tool changes            
  155. T[Tool] M6
  156. M8
  157. G90 X[H] Y[V]
  158. G0 G43 Z[D] S[Speed] M[Direct] H[Lcomp]
  159. End
  160.  
  161. Between                               # Between the main and sub programs 
  162. M9
  163. g91 G80 G30 Y0 Z0
  164. G0 G40 G80 G90
  165. M30
  166. End
  167.  
  168. SubCall                               # Call a sub program                
  169. G[Work] X[H] Y[V] P[Sub] M98
  170. End
  171.  
  172. SubStart                              # Start of the sub program          
  173. O[Sub]
  174. End
  175.  
  176. SubEnd                                # End of the sub program            
  177. M99
  178. End
  179.  
  180.